import http from '@/api'

// 保存模板
export const saveTemplateApi = (params) =>
  http.postJson('/call-robot-engine/agentPrompt/saveAgentPrompt', params)

// 删除模板
export const deleteTemplateApi = (params) =>
  http.postForm('/call-robot-engine/agentPrompt/delPromptTemplate', params)

// 获取模板列表
export const queryTemplateListApi = (params) =>
  http.get('/call-robot-engine/agentPrompt/getPromptTemplateList', params)
